<?php
namespace app\validate;

use app\base\BaseValidate;

/**
 * 验证器-CompanyBasicValidate
 * Class CompanyBasicValidate
 * @package app\validate
 */
class CompanyBasicValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'require|number|notIn:0',
        'store_desc|公司介绍' => 'max:300',
        'address|公司地址' => 'max:100',
        'longitude|经度' => 'float',
        'latitude|纬度' => 'float',
        'phone|手机号' => 'mobile',
        'we_chat|微信号' => 'max:30',
        'email|邮箱' => 'email',
    ];
}
